Search results

10 packages found

Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.

published 0.0.3 10 months ago
M
Q
P

Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.

published 1.11.0 2 years ago
M
Q
P

Walk or map over objects in a depth-first preorder or postorder manner.

published 2.2.0 18 days ago
M
Q
P

Functions for converting trees to lists and vice versa.

published 2.0.12 7 years ago
M
Q
P

flat-transform is a small library tranforming your flat objects into rich ones using declarative rules

published 5.0.0 5 years ago
M
Q
P

Elegant and lightweight library for working with data structures

published 1.0.4 4 years ago
M
Q
P
M
Q
P

Convert array to tree fastly, and opposite.

published 1.0.2 2 years ago
M
Q
P

create a tree from an array of objects or a flat array from tree, and others operations on tree

published 0.9.4 6 years ago
M
Q
P

Turn a flat object into a nested tree-like one, based on matching prefixes amongst its keys.

published 0.3.1 9 years ago
M
Q
P